﻿je_ryukyu = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"

	is_shown_when_inactive = {
		exists = c:SHG
		c:SHG = ROOT
	}

	possible = {
		exists = c:RYU
	}

	complete = {
		# If-else clause to avoid errors because of missing variable before JE activates
		
		is_at_war = no
		owns_entire_state_region = STATE_RYUKYU_ISLANDS
		NOT = {
			exists = c:RYU
		}
	}

	on_complete = {
		
		trigger_event = {
			id = shogun.1
		}
	}

	weight = 5000
	#should_be_pinned_by_default = yes
}

